# Contributor: Camille Scholtz <onodera@openmailbox.org>
# Maintainer: Camille Scholtz <onodera@openmailbox.org>
pkgname=xdesktop
pkgver=0.3
pkgrel=0
pkgdesc="output and change X virtual desktop"
url="https://github.com/onodera-punpun/xdesktop"
arch="all"
license="unlicense"
depends_dev="xcb-util-wm-dev"
makedepends="$depends_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/onodera-punpun/$pkgname/archive/$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="125d880c0d2af5c847b74caf5fc51f32d597dc00f25dc334fa5a2664438b248da5989d3f4df2bbd7c5998511cdcf2144625ebc0653ad481dd88378551a7ae529  xdesktop-0.3.tar.gz"
